home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
blat11.zip
/
README
< prev
Wrap
Text File
|
1994-12-08
|
4KB
|
104 lines
DESCRIPTION:
Blat is a Public Domain (generous aren't we?) Windows NT console utility which
will e-mail a file to a user via SMTP. The program requires the "gensock" DLL
(borrowed from WinVN). A Registry entry is generated when the program is used
with the -SMTP flag. This stores the address of the SMTP server, and the
address of the _default_ sender (this may be overridden with the -f flag).
Impersonation can be done with the -i flag which puts the value specified in
place of the senders address in the "From:" line of the header, however if this
is done the real senders address is stamped in the "Reply-To:" and "Sender:"
lines. This can be useful when using the program to send message from NT users
that are not registered on the SMTP host.
SYNTAX:
syntax:
Blat <filename> [-s <subject>] -t <recipient> -f <address> [-i <address>]
Blat -SMTP <server address>
Blat -h
-SMTP <server address> <senders address>: set's the address of the SMTP server t
o be used
<filename>: the file with the message body
-s <subject>: the (optional) subject line
-t <recipient>: the recipient's address
-c <recipient>: the carbon copy recipient's address
-f <sender>: the sender's address (must be known to the SMTP server)
-i <address>: a 'From:' address, not necessarily known to the SMTP server.
-h: displays this help.
Note that if the '-i' option is used, <sender> is included in 'Reply-to:'
and 'Sender:' fields in the header of the message.
INSTALLATION:
To set up Blat you need to:
1) Copy the file "gensock.dll" to your "\WINNT\SYSTEM32" directory, or to any
other directory in your path. (Check if you already have it, if so only copy
the DLL if the date is more recent than the existing one)
2) Copy the file "Blat.exe" to your "\WINNT\SYSTEM32" directory, or to any
other directory in your path.
3) Run "Blat -SMTP yourhost.site.blah.blah youruserid@site.blah.blah"
EXAMPLES:
Blat -SMTP smtphost.bar.com foo@bar.com // Sets host and userid
Blat -SMTP smtphost.bar.com foo // Sets host and userid
Blat -SMTP smtphost.bar.com // Sets host only
Blat myfile.txt -s "A file for pedro" -t foo@bar.com
// Sends a file with subject line "A file for pedro"
Blat myfile.txt -s "A file for mark" -t fee@fi.com -f foo@bar.com
// -f option overrides the default sender
Blat myfile.txt -s "A file for pedro" -t foo@bar.com -i "devil@fire.hell"
// -i replaces "From:" line address (but leaves Reply-To: and Sender: lines)
Blat myfile.txt -s "animals" -t fee@fi.com -c "moo@grass.edu,horse@meadow.hill"
// -c mails carbon copies to users moo@grass.edu and horse@meadow.hill
FUTURE IMPROVEMENTS (you can do it!)
1) reorganize the code
2) include a Bcc: field
3) ability to specify SMTP server on the command line (wouldn't need registry)
4) get rich
5) go on holidays...
COPYRIGHT
License to use Blat
The authors of Blat have placed it in the public domain. This means you
can use it free of charge for any purpose you like, with no conditions being
placed on its use by us. The source code is also available free of charge and
under the same conditions as the executables.
You have permission to modify, redistribute, hoard, or even sell Blat in its
executable or source form. If you do sell Blat, though, we'd appreciate it if
you'd provide your own support (and send us a free copy). We cannot take any
support load for Blat (we've got better things to do).
Various bits of the source code are copyright by other people/organizations.
Look in the source code for copyright ownership.
The authors of the package are not responsible for any damage or losses that
the usage of Blat may cause. We are especially not responsible for the misuse
of the SMTP (or other) mail system.
AUTHORS
Mark Neal (mjn@aber.ac.uk)
Pedro Mendes (prm@aber.ac.uk)